#include "libraries.h"
#include "extern.h"
#include "Strike.h"

void CStrike::Draw()
{
	int x, y;
	x = X-(plX-10);
	if(x>=0&&x<21)
	{
		y = Y-(plY-10);
		if(y>=0&&y<21)
		{
			if (ViewMap[x][y] == 1 || View == 0)
			{
				StrikePicture[HP].set(SprX-plX*32+LenghtToScreenMiddleX+(320-LenghtToScreenMiddleX)*2, SprY-plY*32+LenghtToScreenMiddleY+(320-LenghtToScreenMiddleY)*2);
				StrikePicture[HP].Draw();
			}
		}
	}
}